package com.atguigu.gulimall.gulimallware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/10/21 0021 9:19
 * Note:
 */
@FeignClient("gulimall-product")
public interface ProductFeiginService {
    @RequestMapping("/gulimallproduct/skuinfo/info/{skuId}")
    //@RequiresPermissions("gulimallproduct:skuinfo:info")
    public R info(@PathVariable("skuId") Long skuId);
}
